<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
         isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_2A00_TITLE_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        div .form-width {
            padding-left: 0px;
            padding-right: 0px;
        }

        form .form-group {
            margin: 5px 0px;
        }
    </style>

</head>
<body>
<div class="container-fluid">
    <form class="form-inline" >
        <div class="form-group">
            <button class="btn btn-primary" id="query_btn">
                <s:message code="QUERY_TAG" />
            </button>
            <button class="btn btn-info" id="selectReason_btn">
                <s:message code="SELECT_REASON_TAG" />
            </button>
            <button class="btn btn-warning" id="deleteReason_btn">
                <s:message code="DELETE_REASON_TAG" />
            </button>
            <button class="btn btn-danger" id="updateLev_btn">
                <s:message code="UPDATELEV_TAG" />
            </button>
             <button class="btn btn-success" id="save_btn">
                  <s:message code="SAVE_TAG" />
              </button>
        </div>

    </form>
    <div id="leftDivs" class="col-lg-4 col-md-4 col-sm-4">
        <div class="col-lg-12 col-md-12 col-sm-12">
            <fieldset>
                <legend>输入屏体信息</legend>
            </fieldset>
            <form id="prdForm"
                  class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
                <div class="form-group">
                    <div class="col-lg-6 col-md-6 col-sm-6">
                        <input  type="text" id="prdIdFk" class="form-control input" placeholder="屏体代码" />
                    </div>
                </div>
            </form>
        </div>
        <div class="col-lg-12 col-md-12 col-sm-12">
            <fieldset>
                <legend>屏体信息</legend>
            </fieldset>
            <div class="col-lg-12 col-md-12 col-sm-12">
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="屏体代码" />
                    </div>
                    <div class="form-group">
                        <input id="prdSeqId" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="屏体状态" />
                    </div>
                    <div class="form-group">
                        <input id="prdStat" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="屏体等级" />
                    </div>
                    <div class="form-group">
                        <input id="prdGrade" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white" >
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="产品代码" />
                    </div>
                    <div class="form-group">
                        <input id="mdlIdFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="工单代码" />
                    </div>
                    <div class="form-group">
                        <input id="woIdFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white" >
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="上一站站点序号" />
                    </div>
                    <div class="form-group">
                        <input id="crOpeNoFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="下一站站点序号" />
                    </div>
                    <div class="form-group">
                        <input id="nxOpeNoFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="下一站制程代码" />
                    </div>
                    <div class="form-group">
                        <input id="nxProcIdFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="工艺路线" />
                    </div>
                    <div class="form-group">
                        <input id="nxPathIdFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white">
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="工艺路线版本" />
                    </div>
                    <div class="form-group">
                        <input id="nxPathVerFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white" hidden>
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="当前工艺路线" />
                    </div>
                    <div class="form-group">
                        <input id="crPathIdFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
                <form class="form-inline" background-color="white" hidden>
                    <div class="form-group">
                        <input type="text" class="form-control" style="border: 0;"
                               disabled value="当前工艺路线版本" />
                    </div>
                    <div class="form-group">
                        <input id="crPathVerFk" class="form-control" style="border: 0;"
                               disabled />
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div id="rightDiv" class="col-lg-8 col-md-8 col-sm-8">

        <div class="col-lg-12 col-md-12 col-sm-12" id="table1Div">
            <fieldset>
                <%-- <legend><s:message code="BOX_MOVE_OUT_INFO_TAG" ></s:message></legend> --%>
                <legend>请选择原因代码</legend>
            </fieldset>
            <div id="reasonListDiv">
                <table id="reasonListGrd" style="height: 1px;"></table>
                <div id="reasonListPg"></div>
            </div>
        </div>

        <div class="col-lg-12 col-md-12 col-sm-12" id="table2Div">
            <fieldset>
                <%-- <legend><s:message code="BOX_MOVE_OUT_INFO_TAG" ></s:message></legend> --%>
                <legend>屏体信息</legend>
            </fieldset>
            <div id="glassListDiv">
                <table id="glassListGrd" style="height: 1px;"></table>
                <div id="glassListPg"></div>
            </div>
        </div>

    </div>
</div>
</div>
<!-- 添加原因代码模态框 -->
<div id="addReasonDialog" class="modal fade" tabindex="-1"role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog" style="width:1000px;">
        <div class="modal-content">
            <!-- 模框头部 -->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×</button>
                <h4 class="modal-title">选择原因代码</h4>
            </div>
            <!-- 模框主体 -->
            <div class="modal-body">
                <div class="container-fluid" id="divTotal">
                    <div id="leftDiv" class="col-lg-6 col-md-6 col-sm-6">
                        <div class="col-lg-12 col-md-12 col-sm-12">
                            <fieldset>
                                <legend>请选择部门代码</legend>
                            </fieldset>
                            <form id="filterForm"
                                  class="col-lg-12 col-md-12 col-sm-12 form-horizontal">
                                <div class="form-group">
                                    <div class="col-lg-12 col-md-12 col-sm-12">
                                        <select id="deptId" class="form-control"style="width: 60%"></select>
                                    </div>
                                </div>
                            </form>
                        </div>
                        <div class="col-lg-12 col-md-12 col-sm-12" id="table3Div">
                            <fieldset>
                                <legend>请选择原因代码</legend>
                            </fieldset>
                            <div id="modalReasonListDiv">
                                <table id="modalReasonListGrd"></table>
                                <div id="modalReasonListPg"></div>
                            </div>
                        </div>
                    </div>
                    <div id="right2Div" class="col-lg-6 col-md-6 col-sm-6">
                        <div class="col-lg-12 col-md-12 col-sm-12" id="table4Div">
                            <fieldset>
                                <legend>已选择原因代码</legend>
                            </fieldset>
                            <div id="reModalReasonListDiv">
                                <table id="reModalReasonListGrd"></table>
                                <div id="reModalReasonListPg"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- 模框底部 -->
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary"
                            id="reasonDialog_sureBtn">
                        <s:message code="SURE_COMMIT_TAG" />
                    </button>
                    <button type="button" class="btn btn-default" data-dismiss="modal"
                            id="reasonDialog_cancelBtn">
                        <s:message code="CANCEL_TAG" />
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>
<%--更改等级模态框--%>
<div id="updateLevDialog" class="modal fade" tabindex="-1"role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog" style="width:1000px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×</button>
                <h3 class="modal-title">判定信息</h3>
            </div>
            <div class="modal-body">
                <div class="container-fluid" id="divTotal1">
                    <div id="leftDiv1" class="col-lg-6 col-md-6 col-sm-6">
                        <div class="col-lg-12 col-md-12 col-sm-12">
                            <fieldset>
                                <legend>等级判定</legend>
                            </fieldset>
                            <div class="col-lg-4 col-md-4 col-sm-4">
                                <div class="form-group">
                                    <label class="control-label col-lg-1 col-md-1 col-sm-1" for="radioOKlb">
                                    </label>
                                    <div class="col-lg-11 col-md-11 col-sm-11">
                                        <label id="radioOKlb"><input type="radio" name="name" checked id="radioOK" checked="checked"/>OK</label>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label col-lg-1 col-md-1 col-sm-1" for="radioNglb">
                                    </label>
                                    <div class="col-lg-11 col-md-11 col-sm-11">
                                        <label id="radioNGlb"><input type="radio" name="name" id="radioNG"/>NG</label>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-6 col-md-6 col-sm-6">
                                <from class="form-horizontal">
                                    <div class="form-group">
                                        <label class="control-label col-lg-6 col-md-6 col-sm-6" for="gradeGRP">
                                            等级类别
                                        </label>
                                        <div class="col-lg-6 col-md-6 col-sm-6">
                                            <select id="gradeGRP" class="form-control"></select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-lg-6 col-md-6 col-sm-6" for="prd_grade">
                                            屏体等级
                                        </label>
                                        <div class="col-lg-6 col-md-6 col-sm-6">
                                            <select id="prd_grade" class="form-control"></select>
                                        </div>
                                    </div>
                                </from>
                            </div>
                        </div>
                    </div>
                    <div id="rightDiv1" class="col-lg-6 col-md-6 col-sm-6">
                        <div class="col-lg-12 col-md-12 col-sm-12">
                            <fieldset>
                                <legend>缺陷</legend>
                            </fieldset>
                            <div class="form-group col-lg-12 col-md-12 col-sm-12">
                                <div class="col-lg-1 col-md-1 col-sm-1">
                                </div>
                                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="defectCode">
                                    缺陷代码
                                </label>
                                <div class="col-lg-6 col-md-6 col-sm-6">
                                    <select id="defectCode" class="form-control" disabled   style="width: 100%"></select>
                                </div>
                            </div>
                            <div class="form-group col-lg-12 col-md-12 col-sm-12">
                                <div class="col-lg-1 col-md-1 col-sm-1">
                                </div>
                                <label class="control-label col-lg-3 col-md-3 col-sm-3" for="prdNote">
                                    缺陷备注
                                </label>
                                <div class="col-lg-6 col-md-6 col-sm-6">
                                    <input id="prdNote" class="form-control" type="text" disabled/>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 模框底部 -->
            <div class="modal-footer">
                <button type="button" class="btn btn-primary"
                        id="updateLevDialog_sureBtn">
                    <s:message code="SURE_COMMIT_TAG" />
                </button>
                <button type="button" class="btn btn-default" data-dismiss="modal"
                        id="updateLevialog_cancelBtn">
                    <s:message code="CANCEL_TAG" />
                </button>
            </div>
        </div>
    </div>
</div>
</div>
<%@ include file="/page/comPage/comJS.html"%>
<script src="js/page/2000/2A00.js"></script>
<script src="lib/bootstrap/assets/js/bootstrap-tooltip.js"></script>
<script src="lib/bootstrap/assets/js/bootstrap-tab.js"></script>
</body>
</html>
